package com.tensquare.recruit.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.tensquare.recruit.pojo.Enterprise;

import java.util.List;

/**
 * 数据访问接口
 *
 * @author Administrator
 */
public interface EnterpriseDao extends JpaRepository<Enterprise, String>, JpaSpecificationExecutor<Enterprise> {

    /**
     * @return java.util.List<com.tensquare.recruit.pojo.Enterprise>
     * @Author zhangshuai
     * @Date 2019/1/14 17:54
     * @Description //根据热门状态获取企业列表
     * @Param [ishot]
     * @version 1.0
     **/
    public List<Enterprise> findByIshot(String ishot);


}
